package com.pe1n.yangtaopai.base;

import android.content.SharedPreferences;

import android.support.multidex.MultiDexApplication;

import cn.bmob.v3.Bmob;

/**
 * Created by My on 2016/11/21.
 */

public class BaseApplicaTion extends MultiDexApplication{
    private static BaseApplicaTion mBaseApplicaTion;
    private SharedPreferences sharedPreferences;
    @Override
    public void onCreate() {
        super.onCreate();
        mBaseApplicaTion=this;
        Bmob.initialize(this, "eb32a3b23e3764d68493392213ca65b4");
        sharedPreferences=this.getSharedPreferences("myshared",0);
    }
    public static BaseApplicaTion getInstance(){
        return  mBaseApplicaTion;
    }

}
